updated test to also pass IFrame