make the test tolerant of small differences