Fix up tests for IE8