Refactoring autotests. Addition ubuntu.