Add assert to some files