Add tests for patches to third-party software that were added in bb9a94c3.
/cc @gabriel, @jerome
This will create a new commit in order to revert the existing changes.