Use math-tests.h more in math/test-misc.