Add nested duplicate overwrite test