Fixed tests for imageio after error changes