Added base agent API tests