Add tests for answer flagging API.