Move the close window test to window_test.go.