Added unit tests for regions.
Added unit tests for regions.

0x0all/arrayfire,pombredanne/arrayfire,unbornchikken/arrayfire,kylelutz/arrayfire,umar456/arrayfire,pombredanne/arrayfire,ghisvail/arrayfire,glehmann/arrayfire,merlin-ext/arrayfire,ghisvail/arrayfire,pavanky/arrayfire,pombredanne/arrayfire,9prady9/arrayfire,arrayfire/arrayfire,victorv/arrayfire,merlin-ext/arrayfire,asifmadnan/arrayfire,jramapuram/arrayfire,linan7788626/arrayfire,pentschev/arrayfire,arrayfire/arrayfire,linan7788626/arrayfire,munnybearz/arrayfire,victorv/arrayfire,arrayfire/arrayfire,mrgloom/arrayfire,linan7788626/arrayfire,unbornchikken/arrayfire,asifmadnan/arrayfire,umar456/arrayfire,glehmann/arrayfire,umar456/arrayfire,unbornchikken/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,jramapuram/arrayfire,umar456/arrayfire,HolyGeneralK/arrayfire,9prady9/arrayfire,linan7788626/arrayfire,asifmadnan/arrayfire,pavanky/arrayfire,mrgloom/arrayfire,HolyGeneralK/arrayfire,pentschev/arrayfire,kylelutz/arrayfire,9prady9/arrayfire,hshindo/arrayfire,Keno/arrayfire,pombredanne/arrayfire,hshindo/arrayfire,marbre/arrayfire,pentschev/arrayfire,munnybearz/arrayfire,marbre/arrayfire,merlin-ext/arrayfire,victorv/arrayfire,marbre/arrayfire,shehzan10/arrayfire,9prady9/arrayfire,shehzan10/arrayfire,Keno/arrayfire,mrgloom/arrayfire,0x0all/arrayfire,pentschev/arrayfire,arrayfire/arrayfire,pavanky/arrayfire,unbornchikken/arrayfire,bkloppenborg/arrayfire,bkloppenborg/arrayfire,munnybearz/arrayfire,merlin-ext/arrayfire,bkloppenborg/arrayfire,jramapuram/arrayfire,bkloppenborg/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,hshindo/arrayfire,asifmadnan/arrayfire,mrgloom/arrayfire,HolyGeneralK/arrayfire,HolyGeneralK/arrayfire,victorv/arrayfire,hshindo/arrayfire,jramapuram/arrayfire,Keno/arrayfire,pavanky/arrayfire,marbre/arrayfire,Keno/arrayfire