Fixes #132 - Test portal.js as a Node.js client

npm test