unit db tests updated