Add some tests around the swank protocol conversion

These are, quite frankly, a bit ugly, but functional.  This is a prelude to a much bigger refactoring in this area and we need some defensive tests in place before that begins.