stub out acquireLock in tests