rspec helper and factory for messages