Fix testing on Travis.