Ported over more scalar tests from sebastianbergmann/phpunit.
Ported the `ArrayComparator` tests.