Small changes in jh.c tests and added bash script for batch comparison of multiple threads count.