added some tests for math