Improved test expectation to include entire widget name array