test: apply patches