Fix tests for case when Gurobi not installed