JImageTest::testPrepareDimensionsWithInvalidScale

Tests the JImage::prepareDimensions method with a bogus scale so that an exception is thrown.