Simplify the implementation/unit test of RLike/Like