tests for user creation