add test for AGI command