Complete testing for createUser()