Testing dark energy models with $H(z)$ data