test getting dom