Add tests for user creation