Add another unit test (error on duplicate key).