refactoring ui tests
Merge pull request #1003 from a-chumagin/master

refactoring ui tests