[BUGIFX beta] Fix failing test from recent contextualElements (74203e9)

Recent contextualElements commit (74203e9) causes a test to fail.