Update app/models/message.rb

Add validator test on message model