add test for create user method