diff --git a/spread.yaml b/spread.yaml
index f7a7eb574b812fc894935dd6db461e827e9d9525..eff522f4649dd0c426234798f2184770e2a20f75 100644
--- a/spread.yaml
+++ b/spread.yaml
@@ -39,6 +39,7 @@ prepare: |
     # "MATCH is a function", the rest is valid shell.
     for fn in MATCH NOMATCH; do
         type "$fn" | tail -n +2 >> $SPREAD_PATH/tests/bin/"$fn"
+        echo "$fn \"\$@\"" >> $SPREAD_PATH/tests/bin/"$fn"
     done
 
     # Build and install locally