gcm: add gcmtest package
gcm: implement open/close/go methods