Adding tests to CrossLockable class