added testing to vigenere