Add another test of window_index function.

Again, see #13.