Moved tests but did not implement them. That will happen in a seperate p...

...ull request. Some of the structure is implemented in the memory store because I started in the "wrong" end.
Can you expand this import?