test null to empty string