Michael Goldsmith -
As soon as you stash or revert the changes made, the .gitattribute settings are triggered again...so you are always stuck on master with a bunch of files that have been modified do to changes to the line endings. I had to delete the .gitattributes file then do a git checkout – . to switch to a different branch/commit. That could be what's going wrong with the tests.
FWIW, I am fine with switching to the project level .gitattributes if we can get this fixed for multi-environment situations (windows, osx, linux) - my settings for line-endings are currently user level. It would be nice to have the settings at the project level and not hidden in a user's root .gitconfig file.