cleanup testcase to remove unrelated tests and actually generate duplicated rows