Improved test base structure.
Refactored hash structure with an implementation closer to Redis hash type.