Added DOM update test method