stacktest for stack