Add tentative test file that checks cartesian

fixed non-existent local variable