test QP modified for friction cone constraints