Complete test coverage of login component