draft tests for stacks