fixing unit test
Merge branch 'master' of github.com:pubnub/javascript