Fixes testing errors with Guzzle.