Fixed test dependencies for sub-projects