PDB-554 Cleanup logging and fix a test

Signed-off-by: Ken Barber <ken@bob.sh>
PDB-554 Add tests for aws-sdk

Signed-off-by: Ken Barber <ken@bob.sh>