Tests for the window's length attribute