write test for stack
test for stack