testing return status in fetch event listener