Add unit tests for network constructor
Add unit tests for network constructor

nabilbendafi/haka,LubyRuffy/haka,lcheylus/haka,Wingless-Archangel/haka,Wingless-Archangel/haka,haka-security/haka,nabilbendafi/haka,LubyRuffy/haka,lcheylus/haka,lcheylus/haka,nabilbendafi/haka,haka-security/haka,haka-security/haka