Fix failing of GetCaption tests in IE11

Change-Id: I9dec52ce5df725c1f1fb8caee61acd420d046ae0