dist/prepare: fix inconsistent test syntax