Jasmine tests for Router.js