Test basic database CRUD.