scaled down tests and moved vars into functions where they are used
added sample input/output files from running ./testscript 10

normally fib and rw output files will be in subdirs with the process ID appended to the generated filenames.