Add tests near limits
Use float comparisons