More robust script generation.

The size of the buffer need only be edited in one location to extend the size of the script buffer.

Modified: src/test/ps-test.c