tests/Makefile.am (testsuite): Fix dependencies.