unit tests for PushMessage