Improve test to check a number of thread counts, including 1. Improve output and capture of log files