[Math] Added tests to achieve 100% code coverage