theta minimization test