NOTASK test(pushHandler) added tests

- tweak the implementation for `pushHandler`
- add tests for `pushHandler`
Merge pull request #15 from ikhattab/test-push-handler

NOTASK test(pushHandler) added tests
WIP: object testing