Added rspec and routing tests