[BUGFIX beta] Update metal view test helpers to work in IE8

Fix several small IE8 incompatible things in the metal views test helpers.