Added more tests for DOM actions