remove unnecessary parts of gtest