Add the api to fab test