tests: use grep -q