Fix testing on Travis