test setting via registry