add proper test for push handler