added assert to pygist test