src/Makefile.am: Move tests towards the libraries tested.