testign locking