Added test for make_cart_compatible