Added database/table diffs with database mock routines.