Patches and test