add failing test case for #11
implement plugin config cloning

closes #11
Merge branch 'issue/11'