add more preferences tests
merge to master; change save frequency to 6 seconds
Merge pull request #197 from dart-lang/preferences-work

add more preferences tests