swim: Add test-cases for binary output.