Trying to fix unit tests on travis

Everything is working on osx and Windows.