Generate and test comment model