What its the purpose of this change?
Lock is exactly something we need it this test. Countdown latch works well but it also does a lot of additional stuff, so it doesn't match such simple case.