Tests for Lists and Stacks