Remove $revision.
Make sure the correct use delete the image.
Simplify test.
Add expected exception to the test.
add broken annotation to test.