add tests for html frames (bug 599318)