Added more tests for math module.