update Unit test settings
code improve