Fixed ExpressionWithContextGeneratorTest to not use any @deprecated
Xtext APIs anymore, as proposed in @akosyakov's PR