Minor change to how stacks are printed.
Fixed an error in the test file.