Added additional deleteKey test

- Tests that deleting a nested subkey will set the parent to an array.