UserCreate test case solution.