fixed syntax in tests, added routing tests