TRQ-1054: added unit test for set_str_scv

- fix memory leak in remove_csv_item
- implemented unit test for set_str_csv