Add a test case for onDomRefesh onRender combination