Add tests where these functions are used in the WHERE clause too. Also, lower level unit tests are always better to test edge cases. For example, the tests you wrote for CoerceExpressionTest.