Remove use of nullptr in test.
Merge pull request #888 from gwtnb/remove-nullptr-in-test

Remove use of nullptr in test.