Relax wavelength tests to allow a small difference in expected/actual values

If the absolute value of the difference is less than Constants.EPSILON,
then the test will pass; this should prevent false negatives from minor
differences in precision.