some db tests