test case for stack size