* fix the ci by adding the ability to enforce event ordering
keep cstest for generic helper functions this also avoids circular imports in test files