google-tag-manager: port tests
Merge pull request #303 from segmentio/test/google-tag-manager

google-tag-manager: port tests