Tests and mix fixes

I'd like to have an `iframe` reftest as well but `iframe`s are currently broken.  Will look into that next.