I feel like showing off some tests would help when the example is this complex. That would give a bit more context in terms of what you're trying to accomplish here.
Unfortunately, it's easy to dismiss simple examples as not being worth the complexity and demand real examples which can be dismissed because they cannot be easily understood.