Modify gtest/gmock tests to work around demented test implementation in Debian