[add]test code