update dtap test code