Trivial generative test for Rust string matching