Mock REST requests in NodeJS