Tested the code for incorrect name and password. Test was successful, and the correct response was given by the console log.