Added tests for the window feature