Add test for tarifs affinitic refs #5836