Simplify window specification test