Move constants to constants.rb file
 Add test to user registration