[SD-852] preferences unit tests
[SD-852] preferences unit tests