Lock used on ready queue. There is a bug somewhere
Updated test case