add test of stack