Remove unnecessary settings in test method
Fix unit tests and some bugs introduced by #128
Merge branch 'brutasse-feature/per-repo-endpoint'
Merge branch 'feature/per-repo-endpoint' of https://github.com/brutasse/elasticsearch-cloud-aws into brutasse-feature/per-repo-endpoint

(cherry picked from commit 59bb2a1)