Modified test case names in MathHelperTests and CompactSpanTests

Standardize the function names