Add a some tests of publish and push events

R=kustermann@google.com
BUG=

Review URL: https://codereview.chromium.org//548483002