fix on tests for Travis build