Potential fix for failing GMock tests.