Add unit test to CommentTest.
Fix bug: uncatched exception when flagging non-existent comment.
Refactor for easier testing.
Fix bug: uncatched exception when voting on non-existent comment.
Handle save failure for votes.
Add coverage ignore for uncoverable lines relying on framework function.
Add test coverage.