wrote test cases for test_creating user