Created JUnit test case UserTest.