fixed syntax error and added nock, my fork of 37signals/sub