tests: update to use `CString`