Refactored test of upgradable lock serialization