cmd buffer overflow test simplified