added empty string and undefined tests for numeric