Unit tests to ensure MathLib is working correctly