Converted testDB to a CommentDB class and wrote test.