tests (windowSizeWatcher): add tests for windowSizeWatcher

Closes #251