write Jasmine unit tests for comment_ctrl