Created a test CreateLockPromise