[SD-852] preferences unit tests