add stack test in c