Fix broken image tests

* Add sample image in test/fixtures
* Load window before tets
Merge pull request #17 from JoelQ/jq-fix-image-tests

Fix broken image tests