unit tests for null, undefined and empty string