Which gas is usually liberated when an acid reacts with a metal? Illustrate with an example. How will you test for the presence of this gas?