refactoring and tests
gitattributes