It seems inconsistent to use an iframe for these two tests, but not others. Why is an iframe required?