More tests for stacks