Add tests for comparison operator expression analysis