add mock for local_payload