Add gtest submodule
Transfer part of unittest code from CUnit to GTest