Created unit test TestEncryptWord.