Write test case for iframe editing case