Testing the Keras RNN model