delete primary test case code