add unit tests
Merge branch 'QA' of https://github.com/Mirantis/savanna into QA