Write ParsePushEvent + test

Close issue #7