Integration tests for math.