Fix ConnectionClosedException for newer nodejs version
Use config for tests + small fixes
aws config