fix logicalAnd, logicalOr, logicalXor

logicalAnd/logicalOr/logicalXor functions doesn't work
in shortcut functions at Framework/Assert/Functions.php.

fixed this bug and added tests.

recreated https://github.com/sebastianbergmann/phpunit/pull/882