test db commands