Started adding tests for the routing system using mocks