Added tests for wait_group_events divergence and invalid arguments.
Added test for work-items hitting different barriers.
Barrier divergence is now non-fatal error.