Helper class to write integration tests.