Add cart3d tests, distingiush cart3f from cart3d.