language installation test refactoring