Adding test GCM protocol
Bugfix