Wrote Config->updatePlugin() test
Tweaked Config->updatePlugin() to pass tests.