test window object skipping