BUG: fix old tests to work on 2.6 as well in randomized mode.
MAINT: use randomize when running tests on travis-ci.