utils, settings: test preference