Added debug test programs for subvec method