strdup return val and update test case