all tests depend on gtest
fix inf loop in testing