Make test runner little more dry.