Can test whether db is empty