Added login test in exercicio2 class