Testing QGreedyPolicy