Fix tests execution on Travis CI