added test for cart routes
added ioc resetting in route test cases