Tests dependecies after destroying a post