Add some algorithm from jd paper test