added the test case to package newmath