Refactoring RoadRunner test code