Adds de-dupe to contract test case