Add test to ensure directives work on api calls called directly
Add test to ensure directives work on api calls called directly

yasoob/hug,janusnic/hug,jean/hug,STANAPO/hug,alisaifee/hug,STANAPO/hug,jean/hug,shaunstanislaus/hug,gbn972/hug,MuhammadAlkarouri/hug,giserh/hug,janusnic/hug,MuhammadAlkarouri/hug,timothycrosley/hug,MuhammadAlkarouri/hug,philiptzou/hug,timothycrosley/hug,timothycrosley/hug,yasoob/hug,origingod/hug,shaunstanislaus/hug,origingod/hug,alisaifee/hug,giserh/hug,gbn972/hug,philiptzou/hug