Added tests through delete_post