add a test for odd list and nonetype