Updated tests and pubsub error response.
Updated tests
Removed redundant import
Updated tests
Updated tests
Fixed test
Clarified tests
Minor change to conform to spec, updated tests
Updated tests
Merge pull request #2 from DBeath/master

Minor fixes and tests