adding iframe test, changing comparison to use string instead of constructor