Fixed string tests to expect needle instead of delimiter