make query math tests more forgiving