test_jp2k refactored to not duplicate tests.  #110