Refactored the tests for the nestedTyped storage, fixed bugs.
Refactored the tests for the nestedTyped storage, fixed bugs.

HydraChain/hydrachain,HydraChain/hydrachain,wangkangda/hydrachain,wangkangda/hydrachain