modify apply test