created test for ApiBuilderCtrl
created mock for ApiBuilder