add regression tests for spotify-unnecessary-c-str

fix #24