If it works for you, that is OK. Everyone's mileage may vary. I'd rather not have my scripts (over)loaded with in place tests, esp. not if they have to be removed later in the final version.
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
Comment on Re^3: What is wrong with testing like a noob