Working tests for grouped linear and robust linear