Failing test for null check.
Fixing null check.