New awesome boolean test and a fix to Brad's simulator to handle XOR.