some fixes for the cartesian tests