added api_client controller spec