refactored test/function/statistics and test/function/trigonometry to mocha
refactored test/function/unit and test/function/utils to mocha
moved the remaining tests to mocha