Add a test case for onDomRefesh onRender combination

invalidates #1232