Null handling tests.