tests: have imagemagick comparison read from files to avoid spurious errors - closes #3