Added testcase which mutates config and made sure it works ok too.