succesful test on 4 threads. Wrote bash script for faster testing