fixed ie6,7 bugs of array.splice,fixed test bugs for ie6,7