Relaxing test requirements due to float comparisons