#29 Update test displayImage for better test and coverage