testing locking