Test REST server on Node.js