New debugging tests for submatrix and subvec methods