testing received in API