Tests for creation and applying of EBP patches.