Removed superfluous test mocks in logout test