Encode/decode tests now tests all image formats.