Refactored ut_* into mock_*