Add downcase test & refactor before_save callback