Convert test image to losless format

This fixes java tests failing with new jpeg versions