Adding test for stack space overflow