Fix tests compatability with CakePHP 2.5.6 #51