test iframe functionality