test database read - dbug