added uniqueness tests for user model