Added possibility that the window size is also stored when it's changed (not only the position).
Ignored send message test since that would require the server to run.