some moar unittests
some moar unittests

Summary: from discussion

Test Plan: unit tests

Reviewed By: hans@fb.com

Subscribers: doug, folly-diffs@, jsedgwick, yfeldblum

FB internal diff: D1829282

Signature: t1:1829282:1423180907:3630dac1378750b05f316c672fbbd71138d2bc0a

raphaelamorim/folly,colemancda/folly,sakishum/folly,tempbottle/folly,alexst07/folly,floxard/folly,clearlinux/folly,clearlylin/folly,juniway/folly,facebook/folly,fw1121/folly,bsampath/folly,brunomorishita/folly,fw1121/folly,PoisonBOx/folly,zhiweicai/folly,mqeizi/folly,CJstar/folly,sakishum/folly,PPC64/folly,loverszhaokai/folly,PPC64/folly,cppfool/folly,PoisonBOx/folly,chjp2046/folly,kernelim/folly,colemancda/folly,loverszhaokai/folly,sakishum/folly,fw1121/folly,xzmagic/folly,brunomorishita/folly,CJstar/folly,tomhughes/folly,bobegir/folly,charsyam/folly,CJstar/folly,juniway/folly,kernelim/folly,cole14/folly,bowlofstew/folly,theiver9827/folly,kernelim/folly,gaoyingie/folly,guker/folly,gaoyingie/folly,Orvid/folly,gaoyingie/folly,SeanRBurton/folly,PPC64/folly,bowlofstew/folly,romange/folly,colemancda/folly,fw1121/folly,loverszhaokai/folly,guker/folly,lifei/folly,cppfool/folly,tomhughes/folly,bsampath/folly,stonegithubs/folly,lifei/folly,SammyK/folly,brunomorishita/folly,Eagle-X/folly,clearlinux/folly,hongliangzhao/folly,rklabs/folly,alexst07/folly,chjp2046/folly,bobegir/folly,hongliangzhao/folly,charsyam/folly,tempbottle/folly,constantine001/folly,clearlinux/folly,CJstar/folly,reddit/folly,renyinew/folly,theiver9827/folly,clearlylin/folly,arg0/folly,wildinto/folly,juniway/folly,fw1121/folly,upsoft/folly,gavioto/folly,SammyK/folly,guker/folly,PPC64/folly,bikong2/folly,CJstar/folly,leolujuyi/folly,Orvid/folly,tempbottle/folly,cppfool/folly,rklabs/folly,arg0/folly,romange/folly,juniway/folly,KSreeHarsha/folly,clearlylin/folly,facebook/folly,shaobz/folly,nickhen/folly,Orvid/folly,bsampath/folly,Eagle-X/folly,doctaweeks/folly,bikong2/folly,gavioto/folly,tomhughes/folly,renyinew/folly,xzmagic/folly,rklabs/folly,rklabs/folly,tempbottle/folly,raphaelamorim/folly,reddit/folly,theiver9827/folly,yangjin-unique/folly,SammyK/folly,facebook/folly,Hincoin/folly,facebook/folly,nickhen/folly,SeanRBurton/folly,chjp2046/folly,shaobz/folly,sonnyhu/folly,arg0/folly,mqeizi/folly,sonnyhu/folly,zhiweicai/folly,leolujuyi/folly,sakishum/folly,hongliangzhao/folly,shaobz/folly,xzmagic/folly,guker/folly,yangjin-unique/folly,loversInJapan/folly,loverszhaokai/folly,gaoyingie/folly,nickhen/folly,ykarlsbrun/folly,floxard/folly,Eagle-X/folly,hongliangzhao/folly,KSreeHarsha/folly,KSreeHarsha/folly,raphaelamorim/folly,wildinto/folly,kernelim/folly,upsoft/folly,upsoft/folly,bsampath/folly,zhiweicai/folly,tempbottle/folly,KSreeHarsha/folly,lifei/folly,leolujuyi/folly,chjp2046/folly,Hincoin/folly,bobegir/folly,gavioto/folly,loversInJapan/folly,colemancda/folly,PoisonBOx/folly,SammyK/folly,floxard/folly,rklabs/folly,Eagle-X/folly,gavioto/folly,theiver9827/folly,guker/folly,alexst07/folly,arg0/folly,wildinto/folly,nickhen/folly,bikong2/folly,wildinto/folly,yangjin-unique/folly,stonegithubs/folly,sonnyhu/folly,SammyK/folly,reddit/folly,PoisonBOx/folly,hongliangzhao/folly,nickhen/folly,bobegir/folly,doctaweeks/folly,doctaweeks/folly,bikong2/folly,sakishum/folly,renyinew/folly,loversInJapan/folly,xzmagic/folly,stonegithubs/folly,gaoyingie/folly,SeanRBurton/folly,xzmagic/folly,cole14/folly,cppfool/folly,renyinew/folly,clearlylin/folly,mqeizi/folly,PoisonBOx/folly,lifei/folly,raphaelamorim/folly,bowlofstew/folly,charsyam/folly,SeanRBurton/folly,project-zerus/folly,floxard/folly,clearlinux/folly,upsoft/folly,upsoft/folly,project-zerus/folly,shaobz/folly,loverszhaokai/folly,project-zerus/folly,bowlofstew/folly,ykarlsbrun/folly,Hincoin/folly,reddit/folly,loversInJapan/folly,wildinto/folly,gavioto/folly,tomhughes/folly,juniway/folly,brunomorishita/folly,chjp2046/folly,yangjin-unique/folly,tomhughes/folly,alexst07/folly,Orvid/folly,leolujuyi/folly,bikong2/folly,cppfool/folly,theiver9827/folly,bsampath/folly,ykarlsbrun/folly,Eagle-X/folly,constantine001/folly,Orvid/folly,colemancda/folly,cole14/folly,Hincoin/folly,leolujuyi/folly,reddit/folly,renyinew/folly,constantine001/folly,romange/folly,kernelim/folly,alexst07/folly,KSreeHarsha/folly,clearlinux/folly,lifei/folly,zhiweicai/folly,doctaweeks/folly,project-zerus/folly,constantine001/folly,yangjin-unique/folly,ykarlsbrun/folly,SeanRBurton/folly,charsyam/folly,romange/folly,bobegir/folly,romange/folly,sonnyhu/folly,sonnyhu/folly,cole14/folly,constantine001/folly,Hincoin/folly,ykarlsbrun/folly,raphaelamorim/folly,PPC64/folly,clearlylin/folly,floxard/folly,brunomorishita/folly,mqeizi/folly,doctaweeks/folly,mqeizi/folly,loversInJapan/folly,stonegithubs/folly,stonegithubs/folly,cole14/folly,arg0/folly,zhiweicai/folly,facebook/folly,project-zerus/folly,bowlofstew/folly,shaobz/folly