Adds security tests for message feature