Add cmake/ctest rules for test/math module