Test Math utils.