Quote wildcard in test's grep argument

The * could otherwise cause shell pathname expansion.