add test cases for new math functions