adding some tests from the core.match wiki