Add gitattributes file to exclude test folder.