Moved test helpers for setting up test environment: email providers, client session storage, factories, and services.