test distributed database