Dealer repeat point calculator with UnitTest