Image png8 not valid

Fix for #7. Assertions will check, if the format contains ```image/png```.

For format ```image/png8``` or ```image/png24``` the test is successful.