I added some tests for ag and codea