Adding 2 unit tests for nil