Fixing some bugs in tests
Renaming test_math_classes since it is not a test file (unused file)