Fix tests for travis.ci, correctly join paths