Fixed for tests on Travis-ci