Fix running tests from a superproject.