Dirty attempt to fix unit tests in Travis CI.