Add unit tests for ast.Compare().