CakePHP core has fixed the bug.

These tests were ensuring a defect continued to exist. That issue has
been fixed now.