widget context validator test case modified