Add tests for tarifs affinitic refs #5838