MVE: Fixed JPEG weirdness, created JPEG and PNG tests.