Testing the strength of acids