assert statements inserted. addTail sets db.size to 0