Unit tests for CommentDAO and PostDAO