Added a test covering resizeWindow
Merge pull request #493 from stof/test_coverage

Added a test covering resizeWindow