Reorganized tests (parametrized).
Added time test for NlgN sorts.