junit test for MooreContourExtraction