Add unit test for MathShape input datum
s/MathShape/Shape
Made naming more consistent