fix test for empty string