Increase test coverage for MathLib