Fixed dom-tests errors and skipped unsupported tests on IE7