Rearrange lxc test to avoid use of cat