Test broadcasting function