changed tests to inspect stacks