Length Test of window

Signed-off-by: deathwarror <deathwarror@gmail.com>