Tests for JImageHelper