Remove indeterminism in preferences tests
Fix script backup test and remove non determinism from it
Update copyright years