Add tests for inexact comparisons