Revert "patch for tests on travis-ci"

This reverts commit be2a81839ae7aa621803332b445d31ff18ddeabc.