Fix tests on Travis CI which require mutiprocessing