Test binary format