test what happens when db empty