Add a test for backwards compatibility with the legacy protocol.