Added qlearning test, working