test null pointer