test -n needs "" if variable undefined