Fix test runnings on Travis