Added test for png shrink when input is invalid