fixed the test case of EffectTest
removed Cg from .gitignore
added Cg license text