JImageTest::testSanitizeOffset

Tests the JImage::sanitizeOffset method.