Study of gas-puff Z-pinches on COBRA