add Common Algorithm UnitTest