apply unit test patch