Tests for Math class