added tests
fixed conf argument
storing configuration for external use
added tests for option argument case
added updateConf method
updateConf test cas