Added gtest based unittest suite

This pull request adds support for gtest based unittest. The uniteest suite is quite small and should be extended in the future.