Fix test case for CakePHP 2.4.4.