What does lock1 has to do with lock? Why is this not separated in 2 different tests?  I have the impression that 2 different flows are tested.