[bug] Fixing shell test clause that always comes false