refactored test suite for login mocks, got update methods working