beam: Add more tests to unix_test.go
beam: Add more tests to unix_test.go

These are failing, and indicate things that need to be fixed.  The
primarily problem is the lack of framing between beam messages.

Docker-DCO-1.1-Signed-off-by: Alexander Larsson <alexl@redhat.com> (github: alexlarsson)
[510d74b69d9d43b60b6f6aa9d95e9f9c9497f815@docker.com: rebased on master]
Signed-off-by: Solomon Hykes <510d74b69d9d43b60b6f6aa9d95e9f9c9497f815@docker.com>

tranceitionalMynd/swarm,ezrasilvera/SwarmACLs,JimGalasyn/docker.github.io,rillig/docker.github.io,docker/docker.github.io,rav121/swarm,errordeveloper/swarm,phiroict/docker,tnachen/swarm,ealang/swarm,rutulpatel/swarm,ricca742/swarm,EderRoger/swarm,jzwlqx/denverdino.github.io,londoncalling/docker.github.io,denverdino/swarm,megamsys/swarm,BSWANG/denverdino.github.io,adouang/swarm,moxiegirl/swarm,echupriyanov/swarm,phiroict/docker,rillig/docker.github.io,resouer/swarm,rillig/docker.github.io,Spritekin/swarm,abronan/swarm,resouer/swarm,krystism/swarm,bpradipt/swarm,pdevine/swarm,LukasBacigal/swarm,shin-/docker.github.io,PeoplePerHour/libswarm,joeuo/docker.github.io,mgoelzer/swarm,unodba/swarm,mrjana/swarm,u2mejc/swarm,fugr/swarm,bsmr-docker/swarm,CodeNow/swarm,johnstep/docker.github.io,marsmensch/swarm,thaJeztah/docker.github.io,londoncalling/docker.github.io,dnephin/swarm,moxiegirl/swarm,everett-toews/swarm,gonkulator/swarm,swarm-hooks/swarm,riuvshin/swarm,sanscontext/docker.github.io,jimenez/swarm,riuvshin/swarm,rchicoli/swarm,gradywang/swarm,mavenugo/swarm,Aorjoa/swarm,raoofm/swarm,troy0820/docker.github.io,denverdino/docker.github.io,rchicoli/swarm,LuisBosquez/docker.github.io,MHBauer/swarm,therealbill/swarm,aduermael/docker.github.io,fugr/swarm,parapsyche/swarm,NunoEdgarGub1/swarm,bfirsh/swarm,alexisbellido/docker.github.io,menglingwei/denverdino.github.io,xFragger/swarm,sanscontext/docker.github.io,CiaranCostello/swarm,BSWANG/denverdino.github.io,rajdeepd/swarm,bpradipt/swarm,Aorjoa/swarm,LuisBosquez/docker.github.io,ch3lo/swarm,rillig/docker.github.io,joaofnfernandes/docker.github.io,iaintshine/swarm,JimGalasyn/docker.github.io,echupriyanov/swarm,allencloud/swarm,NunoEdgarGub1/swarm,beni55/swarm-1,shubheksha/docker.github.io,swarm-hooks/swarm,denverdino/denverdino.github.io,liubin/swarm,denverdino/swarm-1,anweiss/docker.github.io,bfirsh/swarm,BSWANG/denverdino.github.io,EderRoger/swarm,FollowMyDev/swarm,danix800/docker.github.io,kyhavlov/swarm,jay-lau/swarm,auzias/swarm,christophelec/swarm,jzwlqx/denverdino.github.io,shin-/docker.github.io,LuisBosquez/docker.github.io,jimmyxian/swarm,ch3lo/swarm,allencloud/swarm,cgvarela/swarm,danix800/docker.github.io,tangkun75/swarm,snrism/swarm,sanscontext/docker.github.io,denverdino/docker.github.io,morpheyesh/swarm,menglingwei/denverdino.github.io,krystism/swarm,polyverse-security/swarm,zkcrescent/swarm,yp-engineering/swarm,sfsmithcha/swarm,docker-zh/docker.github.io,alexisbellido/docker.github.io,francisbouvier/swarm,phiroict/docker,thaJeztah/docker.github.io,SivagnanamCiena/swarm,shin-/docker.github.io,unodba/swarm,jeffjen/swarm,atlassian/swarm,MHBauer/swarm,joeuo/docker.github.io,morpheyesh/swarm,docker-zh/docker.github.io,vieux/swarm,ehazlett/swarm,ezrasilvera/swarm,gdevillele/docker.github.io,joaofnfernandes/docker.github.io,akerbis/armhf-swarm,PeoplePerHour/libswarm,gdevillele/docker.github.io,shubheksha/docker.github.io,jzwlqx/denverdino.github.io,shubheksha/docker.github.io,bdwill/docker.github.io,phiroict/docker,ejholmes/swarm,chanwit/swarm,johnstep/docker.github.io,vieux/swarm,aluzzardi/swarm,shin-/docker.github.io,deis/swarm,johnstep/docker.github.io,linecheng/swarm,tnachen/swarm,joaofnfernandes/docker.github.io,sanscontext/docker.github.io,anweiss/docker.github.io,akerbis/armhf-swarm,docker-zh/docker.github.io,atlassian/swarm,barais/swarm,aidora/pisces,deis/swarm,alexisbellido/docker.github.io,jimenez/swarm,marsmensch/swarm,doronp/swarm,francisbouvier/swarm,joeuo/docker.github.io,jzwlqx/denverdino.github.io,JimGalasyn/docker.github.io,jdamick/swarm,ehazlett/swarm,FollowMyDev/swarm,sfsmithcha/swarm,abronan/swarm,cgvarela/swarm,jdamick/swarm,joaofnfernandes/docker.github.io,bdwill/docker.github.io,errordeveloper/swarm,menglingwei/denverdino.github.io,u2mejc/swarm,ezrasilvera/SwarmACLs,vlajos/swarm,chanwit/swarm,schmunk42/swarm,jimmyxian/swarm,tranceitionalMynd/swarm,SivagnanamCiena/swarm,anweiss/docker.github.io,shin-/docker.github.io,docker-zh/docker.github.io,docker/docker.github.io,snrism/swarm,jimmycmh/swarm,thaJeztah/docker.github.io,bdwill/docker.github.io,dims/swarm,danix800/docker.github.io,rutulpatel/swarm,affo/swarm,alexisbellido/docker.github.io,ricca742/swarm,cpuguy83/swarm,CiaranCostello/swarm,shot/swarm,johnstep/docker.github.io,londoncalling/docker.github.io,ealang/swarm,JimGalasyn/docker.github.io,docker/docker.github.io,BSWANG/swarm,menglingwei/denverdino.github.io,jzwlqx/denverdino.github.io,shahankhatch/swarm,joeuo/docker.github.io,FreedomWangLi/swarm,docker-zh/docker.github.io,gdevillele/docker.github.io,mrjana/swarm,denverdino/docker.github.io,ezrasilvera/swarm,denverdino/swarm-1,qianzhangxa/swarm,christophelec/swarm,Spritekin/swarm,BSWANG/swarm,aidora/pisces,docker/docker.github.io,thaJeztah/docker.github.io,rancher/swarm,parapsyche/swarm,mountkin/swarm,gradywang/swarm,troy0820/docker.github.io,pssahi/swarm,dnephin/swarm,menglingwei/denverdino.github.io,denverdino/denverdino.github.io,rajdeepd/swarm,shakamunyi/swarm,LuisBosquez/docker.github.io,dims/swarm,shubheksha/docker.github.io,FreedomWangLi/swarm,everett-toews/swarm,raoofm/swarm,pdevine/swarm,joeuo/docker.github.io,aduermael/docker.github.io,mgoelzer/swarm,shot/swarm,johnstep/docker.github.io,denverdino/denverdino.github.io,bdwill/docker.github.io,mountkin/swarm,docker/docker.github.io,therealbill/swarm,kunalkushwaha/swarm,LukasBacigal/swarm,srikalyan/swarm,BSWANG/denverdino.github.io,ejholmes/swarm,CodeNow/swarm,aduermael/docker.github.io,linecheng/swarm,yp-engineering/swarm,denverdino/docker.github.io,gdevillele/docker.github.io,cpuguy83/swarm,srikalyan/swarm,iaintshine/swarm,shahankhatch/swarm,pssahi/swarm,gonkulator/swarm,adouang/swarm,anweiss/docker.github.io,qianzhangxa/swarm,beni55/swarm-1,kunalkushwaha/swarm,aduermael/docker.github.io,polyverse-security/swarm,megamsys/swarm,joaofnfernandes/docker.github.io,londoncalling/docker.github.io,bsmr-docker/swarm,BSWANG/denverdino.github.io,rav121/swarm,rancher/swarm,troy0820/docker.github.io,troy0820/docker.github.io,sanscontext/docker.github.io,gdevillele/docker.github.io,vlajos/swarm,affo/swarm,kyhavlov/swarm,phiroict/docker,jeffjen/swarm,londoncalling/docker.github.io,denverdino/denverdino.github.io,jimmycmh/swarm,xFragger/swarm,doronp/swarm,schmunk42/swarm,liubin/swarm,denverdino/docker.github.io,JimGalasyn/docker.github.io,denverdino/denverdino.github.io,danix800/docker.github.io,alexisbellido/docker.github.io,tangkun75/swarm,LuisBosquez/docker.github.io,barais/swarm,auzias/swarm,shubheksha/docker.github.io,jay-lau/swarm,thaJeztah/docker.github.io,zkcrescent/swarm,denverdino/swarm,mavenugo/swarm,shakamunyi/swarm,anweiss/docker.github.io,aluzzardi/swarm,bdwill/docker.github.io