Added some tests with local stacks.