test for one agent q learning