fix chain tests to simulate peers with multiple dbs