In addition to moving tests to a different folder, you should also add eclipse specific files to the .gitignore.