testes jasmine e corrected some bugs