fix test of pdf render (that was actually testing png), and vice versa
Merge pull request #236 from twitwi/refactor-render-tests

fix test of pdf render (that was actually testing png), and vice versa