update tests to cover `is_replica` attribute in config

use `is_replica` to prevent shard database from being treated as slave