add a test of boolean array broadcasting