Extract common test code into App::Happyman::Test