router.js: unit test
Merge pull request #17 from alemela/hackathonN3

router.js: unit test