add tests to the last changes and performance fix

Test: rackets, spaces attached to field_split and dig_values option
Performance fix while dig_values is true