Added getWithCAS and test