use sinatra-contrib's new Runner for integration tests.