Added tests for PubSubHubbub class.

Change-Id: Ic4acf47591c8dc3ec8b28d5a21f20c7c64e9aa0f