A hangman game with Java, pass all the Junits Test