Fix test
Fix replica test