test implement of gcat