Add test in gites.core affinitic refs #5838