added test for creating user