Add tests for API 409 Handling (Duplicates / Conflicts)

Change-Id: Ia70845ac303d5c9a46efa8514725420a421268c3