should this get pushed into TestHelpers.mockSession? I assume that doesn't inject the session factory business any more?