Tests for the named access on the window object