Testing of master and slave db configuration