2 threads increment counter
2,3 threads, added tests