t4018: reduce test files for pattern compilation tests