Ensure body is always bytes + fix test assertion