add html test suit, add recursive method

recursive method overflow the stack