Freeze dependencies version to better use cache on Travis and change test setup