The contest was test for the e-commerce giant, which has faced global criticism for worker treatment.