string_slice_set_tests: test slice-based interface