fix borken test, bug #296

Bad handling of float compare.
Merge pull request #302 from linas/bugfix

fix borken test, bug #296