fixed edit image test

made this test pass.