This tests that a frame with a the same name as function on the window object, has precedence in the lookup.