work on rspec tests for router