split off tests from demo/ into files in R/, currently not exported
fixes to seed setting: MT hurting when seed is zero (known and documented in MT papers)
expanded index, updated standardTest to use external function