Added tests for MathHelper