Config encryption functions updated
Added Mod integration test