Adding tests for FilterAddMessage.