Fix tests for ns.routes.js