Fix testsuite dependencies