Can you add a test case for nil as well?