fix test string comparison