Add missing test to show that profile() throws exceptions
Add missing test to show that profile() throws exceptions

When using an invalid profile name an exception should be raised.

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