Test code grants