added test for passing cons cells to functions.