Added some more unit tests for routerUtils.js