testRequeuingWithLock was too dependent on timing. Created a better way to test the condition
2 files changed