Fix tooltip test/contracts for TR contract mode