HADOOP-11140. hadoop-aws only need test-scoped dependency on hadoop-common's tests jar. Contributed by Juan Yu.

(cherry picked from commit 4ea77efa3ab4160498fec54d4824321921c15124)