Utility classes used by the tests.