fix failing activity_runtime_api test