Wrote some test methods for cgc