added test for Nil