added routing tests
Added npm test