package spec for loop issue encountered in djan