added .gitattributes
added tests [closes #2]