a simple db tester