Add basic unittest for SharedMap