Your problem comes from your prediction.
As input, you have an array of vectors and in your first prediction you give an array to your model.
Your model was trained on an array of vectors.
To fix the problem, add a [ ].
This gives:
res = model.predict(testData[[0]])