Add support for tests.