Setup g-test suite and added a few basic tests.