fix pubsub tests.
Merge pull request #332 from stephenplusplus/spp--pubsub-reg-test-fixes

fix pubsub tests.
storage: createReadStream: accept start/end offsets