complete ZPK with full test coverage