Finish wireformat, add a test that it works.