Jar testing apparatus used to plan dosing and buffer requirements for treatment