fix borken test, bug #296

Bad handling of float compare.