Add a test for the NPE case

Fix: 305784475

Test: unit test
Change-Id: I28b19da80e83bbbddf8a71399fbf706fcbb81a5c
1 file changed