well, wen carboantes react with acids, they give out CO2.
Thus, you will be able to test for the CO2 using limewater.
So simply collect tha gas given off in the reaction between a carbonate and an acid.
And then test the gas given off using limewater. Limewater will become cloudy.