Integration tests for some of basic db operations.