Rename $result --> $expected since that's what it is

Change-Id: Ie41766c43f6faa11daa7366dfc3ad0aff0225207