Apply unit test patch