add mixed keys test
missing keys get replaced test