add .. to path of tests; add more tests for GCM and fix a few bugs in GCM