feat (plugin.coffee) add tests for the push notification plugin