Sequential probability ratio test for evaluating functionality in acid–base potentiometry