MRG: Fix the jp2 test skip logic