Added a better test of the stack
all tests passing - basic job done