Testing the publish flow and checking whether the push goes through.