Base class for simple integration tests.
Add preference service.
Refactor other services tests.