installation tests refactoring