adding remove nil id test cases