test nullpointer