Updated canonical test to read and write settings correctly