Added test to check if string is null