add tests for stack - part 1
add test for dispatch stack