serialization error is fixed on replicated map and added tests for the v...

...ector clock implementation. Fixes #4205