Fadd tests for editing events, and fixes a bug that did not delete image if it was removed from event

Fixes #119