Added test cases for ag and codea