Fix broken getfield tests