Clone config object before testing layer