minor [db\orm] fix unit tests