made "DoNothingTest" pass
+ added null ptr check