test frame work of Cgao