Created tests for QLearning.