test: print stack