Fix setup for unit tests in travis