fixing junit image sorting test case