fix tests after change to def of -> operator