added test for null