added test for multithreading arithmetic