Added gtest project and code
Migrated to gtest code