Do not break core tests
Merge pull request #4 from jbbarth/redmine-2.5.1

Don't break if message_id is nil in test environment