Fixed bug in branchTestMagicValue().