test for null explicitly