JUnit has troubles testing code with threads, so I execute this test in
main() and debug it to examine the processing