default to empty string instead of null & fixed test