test preferences file updated