Locking testing