wrap app in class TestApp and then include it in config.ru