test to generate a png from svg