adding example and test for intf.config()

fixes #96