I didn't add a test for "name can't contain trailing spaces" since there is a callback `before_save :remove_trailing_chars`