Test on Qlearning