zdigest: assert constructors in test