Helper class to test broadcasts