testing db basic usage