added math and plot tests