Add some tests around the swank protocol conversion