test suite: introduced the support of seed values

The test script is modified to supply a test driver with
a random seed value and then compare the output of the reference
and testing programs. The test driver generates a test
from this value that makes it possible to test the reconstructed
program on different pseudorandom inputs.