Replaces db name for testing.