Fixed gtest warnings