test_s3: use try_import from common

Change-Id: I3055c3d2f8061b91b038286d8ff2c5cbdcd41efd
Merge "test_s3: use try_import from common"