Tests and fix for compound bitwise or assignment operator