Generalize the tests.