test upload with new stat access