Fix: shell test buffer overflow