added a test for instance of math class