Fix bug: new(G, home, NewRoot) when NewRoot is not existed, create it failure.
Add unit test for key sugar. Single key may be not in list.