fixed bug in the use of the starting seed
(#401)
made a range of tests in the test script
(#401)