Add test MessageEncoderMongoDB.replace_id

test_replace_id

  replace_id produces the expected modifications to a payload
Add test for Context

test_reply_error_calls_send_reply

  send_reply is called from reply_error