Added some flags for DOM testing