Added login tests
Added docstrings for tests