tests addWordDiagonal