feat: add new assertion type in test utils
For a new benchmark I'm working on, I need tests to also assert that all implementations throw the same exceptions too. Updates TestUtils to have a new function to check this explicitly, and names both methods to follow a consistent convention.
These utilities are just wrappers around JUnit assertions that ensure all methods in an array assert the same value rather than doing assertions one-by-one.