Fixing bug in ViewPicker widget test case