adding example and test for intf.config
Merge pull request #381 from cdburkard/examples/interfaces

adding example and test for intf.config()