Unit tests for dao errors on delete thread post.