Actually output the full command in tests.
Use "which" to determine whether to use grep or find.