Added test cases for non-default image formats