Remove invalid fields from test