Enhanced window test