Added replace unit tests.
Store unit test passes.
Still need to comment store and tree header files.