test window first