test: add utility to create reply packate from request and reponse envelope