Fixed bash test bug.