Fix test after scope change.