tests & refactors
working test - executing ami commands