Test for null as well as empty