Add Dotka::match method and test it.