Fixing testing errors on Travis.