Fixing specification test to correspond field shadowing rules