#4 ensure size of the window to test.
#4 fix tests failing because of new formatting.