corrected # digits corrected tests which compare floating point numbers to require max 1 digit difference