Updated tests for user creation