Change open db for test.