NOTASK test(pushHandler) added tests

- tweak the implementation for `pushHandler`
- add tests for `pushHandler`
if you get this back to the code .. don't apply the really comments.