Added tests for bcast and merge