tests: allow trusted TE pickle extra state in affected tests (#6602)