added route-spec.js Karma test