Fix for failing test in ImageHelperTest