Fix to get specs running, and use float for comparison to make it easier to read the failure.