Add test coverage for LOGSTASH-1718

This new test verifies that aws-sdk can autoload constants correctly.

I verified this test *fails* before the fix is applied and passes after
it is applied.