Improve test to ensure that post_delete was actually called