Refactoring ScopeTest.pro for linux