Simplify new window test