Merge "Add a method to test EventFlag configuration and usage"