Facts which have heretofore caused the exclusion of testimony, may still be shown for the purpose of lessening its credibility.