fix net tests on travis