changed how to test in Travis-CI