makes create_mock test helper method more specific