Add method to test encoding of replies.