Slave replica db and test