Store the MD5 sum in hexadecimal
Use 'outdir' instead of 'indir' for generated images which are encoded into data-uri
Declare {outdir} being the same as datadir for the tests
Verify that nothing is written outside tests/data