tests (windowSizeWatcher): add tests for windowSizeWatcher

Closes #251
Merge pull request #252 from ozone-development/issue-251-windowsizewatcher-tests

tests (windowSizeWatcher): add tests for windowSizeWatcher