priorityWeighting: fixed wrong order; other integration tests fixed, still some obstacles to do