Moved coc.test, ds.test and rank.test to stattest.R.