Fixing warnings, updating gtest