grep: add tests for --threads=N and grep.threads