Recursively add tests.