testing messages_controller