Add testing for newmath library