changed in tensor ``__eq__`` with ``equals`` (PR 2149); updated tests