made unit testing more convenient
added example unit test for math class