Added ng-improved-testing dependency and new factory for api