Create container type for the stack, with tests.