modify LockManager test to avoid dependence on timing
modify LockManager test to avoid dependence on timing

sharelatex/document-updater-sharelatex,sharelatex/document-updater-sharelatex,sharelatex/document-updater-sharelatex