changed tests, and add a gitignore