Use jpg instead of png for test images. This could fix our current problems on travis.