fixes for test programs to be buildable by Open Watcom

correct buffers to be realy local for each test as expected by logic