Add functionnal tests for the global criteria feature