settings, utils: test preference