fixed bash test