Add unit testing for find_staff_lock_source