Fix regression is simple prefs tests.
Merge pull request #1745 from Gozala/simple-pref-regression

Fix regression is simple prefs tests. r=@erikvold