Much better unit test for #63
- no render required
- make sure resize event fires, and only once
- works without WebGL