added stack overflow test cases