Fixed event ADDED / UPDATE and fixed unittest on ReplicatedMap