fix test when run with gtbn patch