Added most of remaining gtest snippets

Snippets for most setup and teardown, header inclusion as well as
definition and registration of global test environments