How does malachite react with acid? I performed an experiment where I did this: 


  Add one spatula of malachite to a test tube, add dilute hydrochloric acid to the malachite until the test tube is one third full. Note observations and identify gas produced.


The green solid turned to a blue solution and there was an effervescence of hydrogen. However, I now realise that copper doesn't react with acid and malachite is a copper carbonate hydroxide mineral... 
I researched online and found that 


  It dissolves in sulfuric acid to give Copper sulfate, Carbon dioxide
  and Water.
  http://wiki.answers.com/Q/What_happens_when_malachite_is_dissolved_in_sulphuric_acid?classic=true


So how did I get that malachite reacted with acid and did produce hydrogen with a squeaky pop test?

Thanks in advance
No, pure malachite $\ce{Cu2CO3(OH)2}$ usually doesn't produce hydrogen because it is a copper carbonate. Copper is already in a higher oxidation state (+2) so it can't reduce hydronium to hydrogen. The right reaction is the following:
$$\ce{Cu2CO3(OH)2 +2H2SO4 -&gt; 2CuSO4 + CO2 ^ + 3H2O}$$

However, if there are traces of metallic copper some hydrogen can be produced but not with sulfuric acid because:

$$\ce{Cu + 2H2SO4 -&gt; CuSO4 + 2H2O + SO2 }$$

Nor with $HCl$ (copper doesn't react with $HCl$)  but only with nitric acid or aqua regia you can produce hydrogen from the metallic form. So, in fact, the gas you see is carbon dioxide.