router rspec tests working with the exception of the 500 error
work on rspec tests for router
merge with rspec branch