Optimize process of test.

This commit is not very good.
So I will commit to be careful in the future.