Working AhoCorasickMatch with unit tests.