JImageTest::testToFileDefault

Test the JImage::toFile to make sure that a new image is properly written to file, when performing this test using a lossy compression we are not able to open and save the same image and then compare the checksums as the checksums may have changed. Therefore we are limited to comparing the image properties.