change the testing function running order.