working tests for user creation