The transcript of Behe's testimony is here. The important bits are when the lawyer for the plaintiffs is discussing the definition of "theory."
Q But the way you are using it is synonymous with the definition of hypothesis?I've seen lots of people mock Michael Behe for saying that astrology is science but I doubt they have read the actual transcript. Even if they have, I doubt that they appreciate the difficulties in deciding whether something is science or not.
A No, I would disagree. It can be used to cover hypotheses, but it can also include ideas that are in fact well substantiated and so on. So while it does include ideas that are synonymous or in fact are hypotheses, it also includes stronger senses of that term.
Q And using your definition, intelligent design is a scientific theory, correct?
Q Under that same definition astrology is a scientific theory under your definition, correct?
A Under my definition, a scientific theory is a proposed explanation which focuses or points to physical, observable data and logical inferences. There are many things throughout the history of science which we now think to be incorrect which nonetheless would fit that -- which would fit that definition. Yes, astrology is in fact one, and so is the ether theory of the propagation of light, and many other -- many other theories as well.
Q The ether theory of light has been discarded, correct?
A That is correct.
Q But you are clear, under your definition, the definition that sweeps in intelligent design, astrology is also a scientific theory, correct?
A Yes, that's correct. And let me explain under my definition of the word "theory," it is -- a sense of the word "theory" does not include the theory being true, it means a proposition based on physical evidence to explain some facts by logical inferences. There have been many theories throughout the history of science which looked good at the time which further progress has shown to be incorrect. Nonetheless, we can't go back and say that because they were incorrect they were not theories. So many many things that we now realized to be incorrect, incorrect theories, are nonetheless theories.
Q Has there ever been a time when astrology has been accepted as a correct or valid scientific theory, Professor Behe?
A Well, I am not a historian of science. And certainly nobody -- well, not nobody, but certainly the educated community has not accepted astrology as a science for a long long time. But if you go back, you know, Middle Ages and before that, when people were struggling to describe the natural world, some people might indeed think that it is not a priori -- a priori ruled out that what we -- that motions in the earth could affect things on the earth, or motions in the sky could affect things on the earth.
Bad science doesn't always become pseudoscience. Most bad hypotheses just die a quiet death when they are discredited. The transition to pseudoscience only happens when the proponents refuse to give up and insist that their theory is still valid science.
The point is, bad science and pseudoscience are science or at least they were accepted as possible scientific explanations until they were discredited. If they weren't within the realm of science then they could never have been falsified by science.
If you think you know how to define science in a way that eliminates all those ideas that you don't like then read: Is Astrology a Science?
You might not be so inclined to make fun of Michael Behe after that.