Updated tests in DB interface