gtest: fix version test and change test cmake var name