Tests for previous commit
Store mock stacks in memory to make tests more realistic