Add tests to ensure #6538 is fixed
Add tests to ensure #6538 is fixed

Make sure that 6538 is fixed on 3.0 as well.

dkarvounaris/cakephp,CakeDC/cakephp,pbaire/cakephp,kumamidori/cakephp,berrygoudswaard/cakephp,CVO-Technologies/cakephp,petteyg/cakephp,jjj117/cakephp,nrother/cakephp,CakeDC/cakephp,garethellis36/cakephp,michaelze/cakephp,timhoeppner/cakephp,garethellis36/cakephp,michaelze/cakephp,berrygoudswaard/cakephp,tisu2tisu/cakephp,jeffblack360/cakephp,jjj117/cakephp,dkarvounaris/cakephp,jeffblack360/cakephp,eboominathan/cakephp,pbaire/cakephp,ionas/cakephp,davidyell/cakephp,nrother/cakephp,yinhe007/cakephp,yinhe007/cakephp,adopico/cakephp,bravo-kernel/cakephp,web-player/cakephp,justinyost/cakephp,justinyost/cakephp,ADmad/cakephp,Balachan27/cakephp,gmponos/cakephp,jerems02/cakephp,gmponos/cakephp,HavokInspiration/cakephp,thinkingmedia/cakephp,ndm2/cakephp,eryw/cakephp,davidyell/cakephp,petteyg/cakephp,akintoey/cakephp,tisu2tisu/cakephp,dakota/cakephp,kumamidori/cakephp,CakeDC/cakephp,web-player/cakephp,bravo-kernel/cakephp,CVO-Technologies/cakephp,khoimt/cakephp-study,akintoey/cakephp,berrygoudswaard/cakephp,tenkoma/cakephp,HavokInspiration/cakephp,jeffblack360/cakephp,eryw/cakephp,cakephp/cakephp,timhoeppner/cakephp,eboominathan/cakephp,erikfig/cakephp,petteyg/cakephp,cakephp-fr/cakephp,kumamidori/cakephp,mvdriel/cakephp,cakephp-fr/cakephp,tgr0ss/cakephp,petteyg/cakephp,HavokInspiration/cakephp,tisu2tisu/cakephp,Phillaf/cakephp,thinkingmedia/cakephp,timhoeppner/cakephp,Balachan27/cakephp,akintoey/cakephp,dakota/cakephp,tgr0ss/cakephp,web-player/cakephp,Balachan27/cakephp,mvdriel/cakephp,CVO-Technologies/cakephp,thinkingmedia/cakephp,erikfig/cakephp,dakota/cakephp,khoimt/cakephp-study,eryw/cakephp,Phillaf/cakephp,adopico/cakephp,eboominathan/cakephp,erikfig/cakephp,mvdriel/cakephp,ionas/cakephp,adopico/cakephp,ADmad/cakephp,cakephp/cakephp,garethellis36/cakephp,elboletaire/cakephp,yinhe007/cakephp,burriko/cakephp,tenkoma/cakephp,elboletaire/cakephp,mvdriel/cakephp,cakephp/cakephp,jerems02/cakephp,michaelze/cakephp,khoimt/cakephp-study,cakephp-fr/cakephp,tgr0ss/cakephp,cakephp/cakephp,pbaire/cakephp,bravo-kernel/cakephp,tenkoma/cakephp,tenkoma/cakephp,ADmad/cakephp,gmponos/cakephp,ADmad/cakephp,nrother/cakephp,elboletaire/cakephp,CakeDC/cakephp,jerems02/cakephp,ndm2/cakephp,burriko/cakephp,burriko/cakephp,ndm2/cakephp,dakota/cakephp,ionas/cakephp,justinyost/cakephp,davidyell/cakephp,ndm2/cakephp,dkarvounaris/cakephp,garethellis36/cakephp,Phillaf/cakephp,jjj117/cakephp