For a 300 line shell script, including a massive testing framework sounds like overzealous bloat to me.